<?php
/**
 * Created by PhpStorm.
 * User: 15814
 * Date: 2018/10/10
 * Time: 20:42
 */

session_start();
$_SESSION["userInfo"]=null;
session_unset();
session_destroy();
$res=array("stu"=>1,"msg"=>"您还未登录,请先登陆");
print_r(json_encode($res));